package com.cyl.manager.act.convert;

import com.cyl.manager.act.domain.entity.IntegralHistory;
import com.cyl.manager.act.domain.vo.IntegralHistoryVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.ReportingPolicy;

import java.util.List;

/**
 * 积分流水表  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE, componentModel = MappingConstants.ComponentModel.SPRING)
public interface IntegralHistoryConvert {

    List<IntegralHistoryVO> dos2vos(List<IntegralHistory> list);
}
